package cn.edu.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Mr.ma
 * @since 2022/12/8 16:15
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_stock")
@ApiModel("库存实体类")
public class Stock {
    @ApiModelProperty("主键")
    @TableId
    private Integer id;
    @ApiModelProperty("库存")
    private Integer stock;
}
